import mock from "mockjs";
import homeApi from '../api/mockdata/home.js'
import user from '../api/user.js'
import premission from '../api/permission.js'
mock.mock('/home/getData', homeApi.getStatiscaData)
mock.mock(/user\/add/, 'post', user.createUser)
mock.mock(/user\/edit/, 'post', user.updateUser)
mock.mock(/user\/getuser/, 'get', user.getUserList)
mock.mock(/user\/del/, 'post', user.deleteUser)

mock.mock(/premission\/getMen/, 'post', premission.getMenu)
